﻿<div id="top-header">
    <div class="logo">
        <a href="/">
            <img src="/Content/Images/adams_logo.png" alt="Adams Center" border="0" /></a></div>
    <div class="top-mid-section">
        <!-- Top Middle Top Header Section -->
        <div style="padding-left: 125px;">
            <a href="/Donate">
                <img src="/Content/Images/donate.png" alt="Donate" border="0" /></a></div>
        <div class="links">
            @ShowTopNodes(ViewBag.Layout.TopHomeNode, true)
            @helper ShowTopNodes(Adams.Shared.Entities.Sitemap.WebTopNode node, bool isHome)
            {   
                if (node.ChildNodes.Count > 0)
                {
                <ul>
                    @foreach (var n in node.ChildNodes)
                    {
                        <li><a href="@n.Url">@n.Title</a>
                            @ShowTopNodes(n, false)
                        </li>
                    }
                </ul>
                }
            }
        </div>
    </div>
    <!-- End Middle Top Header Section -->
    <div class="top-right">
        <div class="top-links">
            @Html.Partial("_HeaderLogin")
        </div>
        <div class="date-text">
            @ViewBag.Layout.GregorianDate | @ViewBag.Layout.HijriDate
            <div class="searchbg">
                <div align="left" class="search-skin-area">
                    <input id="Search" type="text" class="search-input-text" /></div>
                <div align="right" class="search-btn">
                    <a href="#" id="btnSearch">
                        <img src="/Content/Images/searchbtn.png" alt="Search" border="0" /></a></div>
            </div>
        </div>
        <div style="clear: both;">
        </div>
    </div>
    <div style="clear: both;">
    </div>
</div>
